/**
 * Created by JianGuo on 2016/3/30.
 */

var ioc = {
    emily : {
        name : "雯雯",
        age : 28
    },

    gujian : {
        type : "org.dwell.nutzcow.book.ioc.domain.Teacher",         //类型
        singleton : true,
        args : ["gujian"],      //构造函数参数
        fields : {
            age : 27,
            friend : {refer : "emily"}      //指向容器里另外一个对象
        }
    }
}